package cs1;

public class BookServiceImp implements BookService{
    private BookDao bookDao;

    @Override
    public void save() {
        System.out.println(bookDao);
        bookDao.save();
    }

    public void setBookDao(BookDao bookDao){
        this.bookDao=bookDao;
    }

    public BookDao getBookDao() {
        return bookDao;
    }
}
